package com.collect.zambia.zhiAdater.zhiLevelDetail;

import com.chad.library.adapter.base.BaseQuickAdapter;
import com.chad.library.adapter.base.BaseViewHolder;
import com.collect.zambia.R;
import com.collect.zambia.zhiBean.zhiReceive.ZHIRCustomerPerformanceEntity;

public class ZHILevelDetailCustomerAdminHistory extends BaseQuickAdapter<ZHIRCustomerPerformanceEntity, BaseViewHolder> {

    public ZHILevelDetailCustomerAdminHistory() {
        super(R.layout.item_level_detail_column_4, null);
    }

    @Override
    protected void convert(BaseViewHolder helper, ZHIRCustomerPerformanceEntity item) {
//        helper.setText(R.id.tv_detail_case_date, item.getMonth());
//        helper.setText(R.id.tv_detail_case_num, item.getAssignNumFormatInt()+"");
//        helper.setText(R.id.tv_detail_case_settle, item.getRepayNumFormatInt()+"");
//        helper.setText(R.id.tv_detail_case_rate, item.getRepayRate());
//        helper.setText(R.id.tv_detail_case_bonus, item.getBonusFormat());

        helper.setText(R.id.tv_col_0, item.getMonth());
        helper.setText(R.id.tv_col_1, item.getActualBonusFormat()+"");
        helper.setText(R.id.tv_col_2, item.getBonusFormat()+"");
        helper.setText(R.id.tv_col_3, item.getPenaltyFormat());
    }
}
